package org.example.vo;

import java.math.BigDecimal;

public class ProductVO {
    /*商品ID*/
    private String productId;
    /*商品名称*/
    private String productName;
    /*商品描述*/
    private String productDesc;
    /*商品价格*/
    private BigDecimal price; // 修正字段名

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getProductName() {
        return productName;
    }

    public BigDecimal getPrice() { // 添加getter方法
        return price;
    }

    public String getProductId() {
        return productId;
    }
}
